<template>
  <ContentBox has-corner class="property-order-list">
    <ContentBoxTitle :title="title" />
    <Bar :list="list" :canvas-width="360" :canvas-height="280" />
  </ContentBox>
</template>

<script>
import ContentBox from '@/components/ContentBox'
import ContentBoxTitle from '@/components/ContentBoxTitle'
import Bar from '@/components/Bar/index'
export default {
  name: 'RepairWorkOrder',
  components: {
    ContentBox,
    ContentBoxTitle,
    Bar
  },
  props: {
    list: {
      type: Array,
      default: () => []
    },
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss">
.property-order-list {
  width: $base * 360px;
  height: $base * 320px;

  .content-box-title__content {
    width: $base * 300px;
  }
  .bar {
    margin-top: $base * -5px;
  }
}
</style>